using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace rocketjump
{
    class UINumber : UIText
    {
        public int number;

        public UINumber(int number, SpriteFont font, Vector2 position, String text, Color color)
            : base(font, position, text, color)
        {
            this.number = number;
            this.font = font;
            this.position = position;
            this.text = text;
            this.color = color;
        }

        public virtual void Update(int number, String text)
        {
            this.number = number;
            this.text = text;
        }
    }
}
